Skip to main content

metal

Type

property

Summary

Displays a window with a textured-metal appearance.

Syntax

set the metal of <stack> to {true | false}

Description

Use the metal property to give OS X windows a distinctive appearance suitable for applications such as calculators, oscilliscopes, video camera controllers, and other uses that emulate or control a physical device

Before using the metal property, consult Apple's Aqua user-interface guidelines to determine whether the use is appropriate. In general, metal windows should be used to represent physical devices or interfaces to such devices, and should be used only for the application's main window (not for palettes and dialog boxes).

On Mac OS, Unix, and Windows systems, the metal property has no effect.

note

The setting of this property determines whether the stack's decorations property includes "metal".

Examples

set the metal of this stack to false
set the metal of stack "Calculator" to true

object: stack

property: backgroundPattern, decorations

glossary: property, dialog box, Aqua, palette, metal window

keyword: default

Compatibility and Support

Introduced

LiveCode 2.1

OS

mac

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?